package com.zbbt.sportslottery.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.zbbt.sportslottery.app.App;
import com.zbbt.sportslottery.util.AppUtil;
import com.zbbt.sportslottery.util.LogUtil;
import com.zbbt.sportslottery.util.NetUtil;

public class NetStateReceiver extends BroadcastReceiver {
	@Override
	public void onReceive(Context context, Intent intent) {
		App.PARAM_NETWORK = NetUtil.getCurrentNetType(context);
		LogUtil.printI(AppUtil.TAG, "网络状态改变:" + App.PARAM_NETWORK);
	}
}